import React from 'react'
import { HashRouter, Route,Redirect} from 'react-router-dom'
import { LocaleProvider } from 'antd';
import zh_CN from 'antd/lib/locale-provider/zh_CN';
import 'moment/locale/zh-cn';
import LoginList from '../containers/Loginlist'
import FindaBoat from '../component/findaBoat/FindaBoat'
import MenuList from '../component/menu/MenuList'
import D3Test from '../component/test/D3Test'
import AuthRoute from '../component/login/AuthRoute'
class PointRouter extends React.Component{
   
    render() {
         return(
        <HashRouter>
			<LocaleProvider locale={zh_CN}>
            <div>
             <AuthRoute></AuthRoute>
              <Route  path='/login/:type'  component={LoginList}> </Route> 
              <Route  path='/test'  component={D3Test}> </Route> 
              <Route  path='/menuList/:id'  component={MenuList}> </Route>
               <Route path='/findaBoat'  component={FindaBoat}> </Route> 
              </div>
            </LocaleProvider>
		</HashRouter>
         )
     }

}

export default PointRouter;
